package com.item.yxlottery.yxlottery.bean;

/*
 *------------------------------
 * @创建者      Administrator
 * @创建时间    2016/12/24 17:05
 * @文件描述    
 *------------------------------
 */

import android.os.Parcel;
import android.os.Parcelable;

public class BuySsqBean implements Parcelable {

    private String red;
    private String blue;
    private long money;

    public BuySsqBean() {
    }

    public BuySsqBean(String red, String blue, long money) {
        this.red = red;
        this.blue = blue;
        this.money = money;
    }

    public String getRed() {
        return red;
    }

    public void setRed(String red) {
        this.red = red;
    }

    public String getBlue() {
        return blue;
    }

    public void setBlue(String blue) {
        this.blue = blue;
    }

    public long getMoney() {
        return money;
    }

    public void setMoney(long money) {
        this.money = money;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.red);
        dest.writeString(this.blue);
    }

    protected BuySsqBean(Parcel in) {
        this.red = in.readString();
        this.blue = in.readString();
    }

    public static final Parcelable.Creator<BuySsqBean> CREATOR = new Parcelable.Creator<BuySsqBean>() {
        @Override
        public BuySsqBean createFromParcel(Parcel source) {
            return new BuySsqBean(source);
        }

        @Override
        public BuySsqBean[] newArray(int size) {
            return new BuySsqBean[size];
        }
    };
}
